package com.cg.mapper;

import com.cg.domain.PitayaStock;
import com.cg.domain.PitayaStockExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PitayaStockMapper {
    long countByExample(PitayaStockExample example);

    int deleteByExample(PitayaStockExample example);

    int deleteByPrimaryKey(Integer stockId);

    int insert(PitayaStock record);

    int insertSelective(PitayaStock record);

    List<PitayaStock> selectByExample(PitayaStockExample example);

    PitayaStock selectByPrimaryKey(Integer stockId);

    int updateByExampleSelective(@Param("record") PitayaStock record, @Param("example") PitayaStockExample example);

    int updateByExample(@Param("record") PitayaStock record, @Param("example") PitayaStockExample example);

    int updateByPrimaryKeySelective(PitayaStock record);

    int updateByPrimaryKey(PitayaStock record);

    int updateBatch(List<PitayaStock> list);

    int updateBatchSelective(List<PitayaStock> list);

    int batchInsert(@Param("list") List<PitayaStock> list);
}